package com.baizhi.service;

import com.baizhi.entity.User;
import com.github.pagehelper.PageInfo;

public interface UserService {
    PageInfo<User> showUserPage(Integer pageNum,Integer pageSize);
    User showById(Integer id);
    void updateUser(User user);
    Boolean userLogin(User user);
    User selectUserByEmail(String email);
    Boolean userRegister(User user,String pwd);
}
